package com.test.user;

import com.google.gson.Gson;

public class ParseDataAPI {
	// 解析暴风json数据
	public static BaofengJsonObj ParseBaofengJson(String url){
		Gson gson = new Gson();
		String jsonData = WebDataCatcher.getData(url);
		BaofengJsonObj ret = gson.fromJson(jsonData, BaofengJsonObj.class);
		
		return ret;
	}
}
